Do not add some items to the context menu if they aren't active
For example, some elements, such as "Copy" or "Cut", should not be visible if the text isn't selected. This should reduce the size of the context menu and remove useless, at that time, elements from it.