Fix Issue #68 (Dates of tasks are still showing even when the Task is not being displayed)
Refactored handleUserInput() to executeCommand()