Pass argument from AbstractAppState to main class

It’s not a hack, its a design pattern

Yeah, the fact that you think it is a hack makes me think you still don’t understand what we are saying.

Maybe if you describe the part you think is hacky specifically, we can be clearer.