Permission and time logging (because sometimes it takes much time to start second activity)