Fixed Crash after return from settings

If the user turned off run under lock.