Issue #10: Fixes NPE.when pressing back in Settings Activity.