Fixed bug with app failing 10 minutes after token expired