Fixed the check, and reset buttons