<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_scheme(self, scheme_name):
 """Set the current stack by 'scheme_name'."""

        self.stack.setCurrentIndex(self.order.index(scheme_name))
        self.last_used_scheme = scheme_name