Inspired from https://github.com/curioustechizen/android-app-pause. Just playing around with it