created actions for the mainframe buttons