fixed nullpointerexception when quitting the app and timer isn't running