Fixed functionality with function calls

Seems like my implementation of the menus through switch cases broke how
I could call functions...