Added action listeners to menu