Fixed edit task functionality. Added date input checking.
Changed arguments format and order. Now it is simpler to alias program