add gear function to action menu