fixed bug where back button would crash app if on top level of settings menu