fixed Task::moveTask method where tasks would be moved down the list 1 less spot than they should