Fixed bug when adding for first time.

The menu events wasn't added correctly