Move state in the app-view in because all components need to access it