@@ -0,0 +1,1104 @@
+package ru.matevosyan.start;%0A%0Aimport ru.matevosyan.models.Item;%0A%0A/**%0A * Created by Admin on 21.12.2016.%0A */%0Apublic class MenuTracker %7B%0A%0A    private Input input;%0A    private Tracker tracker;%0A    private UserAction%5B%5D userAction = new UserAction%5B9%5D;%0A%0A    public MenuTracker(Input input, Tracker tracker) %7B%0A        this.input = input;%0A        this.tracker = tracker;%0A    %7D%0A%0A    public void fillAction() %7B%0A        this.userAction%5B0%5D = new AddItem();%0A    %7D%0A%0A    public void show() %7B%0A        for (UserAction userAction : this.userAction) %7B%0A            System.out.println(userAction.info());%0A        %7D%0A    %7D%0A%0A    private class AddItem implements UserAction %7B%0A        public int key()%7B%0A            return 1;%0A        %7D%0A        public void execute(Input input, Tracker tracker) %7B%0A            String name = input.ask(%22Please enter the Task's name%22);%0A            String description = input.ask(%22Please enter the Task's description%22);%0A            tracker.add(new Item(name, description));%0A        %7D%0A%0A        public String info() %7B%0A            return String.format(%22%25s, %25s%22, this.key(), %22 Add task%22);%0A        %7D%0A    %7D%0A%7D%0A

add MenuTracker.java