fix null pointer error when cancel on change user dialog
fix send file email