QAART-392: Fixing the stale element exception when clicking on the context menu

The element gets rebuild when the media node is clicked.
After trying many different combination of wait for different elements. The only two solutions found is to either do a Thread.sleep for a short time or just simply find the element again.