Finished error checking in textButtons