Fix Popup Again

Fix broken popup button (Dismiss) and add time increment checks.
Currently they do not work unless the app is open.