view menu action working