Fix bug when add item from menu bar