I am using the perform_action function to use the next and previous tools on a custom GUI. However, whenever I go to disable the tools menu in the configuration and run the game, the functions I perform will not allow me to switch to the tools. It only works when the menu option is shown. However, for my purposes, I do not want to have the icon show on my screen.