Fix start, stop and reset resources to reflect the changes of stack state transitions