Focused button

When buttonPlain or buttonFormatted is clicked it keeps focused until you click somewhere else. 
Added .blur() on the click functions to solve this behavior.