i'm trying to update my app settings screen after reopen from setting or home let me explain in detail what i want to do. in my app setting screen i have to check either notification is enable or disable for my app then i need to show switch button for status. if notifications are disabled then on switch toggle app will move to mobile settings then user can change / update the notification status. now my question is if user reopen the app by pressing app name from top left corner of mobile screen or press home button then again open app i need to update my switch button status without moving back and reload the setting screen.