Fixed adding tasks from main menu