Fixed: App state resetting when rotating the device

Contributors: SomeTr