Activates/Deactivates function buttons

This edit activates or deactivates the function buttons based off of
what the player has