reset and cancel button format were swapped