Now only changes time if unlocked online
Fixed flags bug