Updated flash[:notice] to success and error