Added flash if success or failure