Reverting text changes & adding reset methods for cancel button