Cleans up button input and fixes multi-line text