Add support for change passcode mode from UI