Bold text indicator does not work properly

Describe the bug

The indicator that shows whether the selected text is bold in the pop-up menu does not always work properly.

To Reproduce

Steps to reproduce the behavior:

    1. Type whatever you want in an Anytype page.
    1. Select it and make it bold (you can use the pop-up menu or hit ctrl+b).
    1. Hit space and type a few more characters.
    1. Select the again to see if it’s bold, the pop-up menu will show that it is not, although it actually is.
    1. Switching to anoter window or going to another line fixes the issue.

Expected behavior

If some text is bold, the pop-up menu should always show that it is bold.

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: 0.17.8

Additional context

You can see [in this video](https://i.imgur.com/1jlGLx1.mp4) that it became bold only after I switched to another window.

On a side note, it works fine on Android, I don’t know why the Android tag is there.

@BGray Thank you for your notice! It has been added to the bug tracker.