Added a offline mode to program of the lock