Created a method for only if the password format is valid. Also, added a toast to inform the User that his password has been successfully changed.