add refresh hook for tools, to ensure the user is redirected to the galaxy toolbars when entering from an external url