type the name of the mel in the command line i.e togglexray; then select the name and MMB drag it to the shelf that you want it on.