fixed issue with cog menu for tasks not displaying after subsequent clicks to the cog