add alertView and userDefault