Fixed bug where timer wouldn't go off after reopening app by changing the run loop mode