Make button be independent of tinymce textediting
Fix button initialization