Hm, at some point i gave up. Gave up, as in, i didn't even bother trying to come up with a solution, because it just seemed to annoying to constantly chance your mindset.
Instead, i think you should reinvent the idea. Instead of making up the controls yourself each level, make the user choose the controls what each button does. Try to make a game with this idea instead.