moving gear menu action to the inner component