Add support for change passcode mode in UI