Formatting icon in the menu bar remains pressed. Cannot use the writer, no text can be entered, only a flickering number can be seen, issue seen in Windows 8.1 even after reinstalling 5.04

Issue is seen in Windows 8.1 with libreoffice 5.0.4. The formatting icon on the right hand corner of the menu bar remains pressed whenever writer is opened Text cannot be entered .A flickering number is visible in the text area. Reinstalled once again. Same issue also observed after installing open office latest version after removing 5.04.Tried with different keyboards,not a keyboard issue.Please suggest what to do?