Fixed the main functions buttons