Removed useless code
Added a refresh menu entry