As Weishaupt said, use only a single boolean (for example "back")
Make event 7 a condition "System: else" (no boolean check)
Since you are changing the value of back in event 6, in your current code, event 7 also executes, changing again the values making it look like it's not working, when in fact both events are executed in a row.