I would suggest to move the following three lines to `togglePasscode` for consistency.