added tracking of how long the app is running. setting this on menu item 8