fix null pointer error when cancel on change user dialog