private final ArrayList<IRedmineSpentTimeManagerListener> listeners = new ArrayList<IRedmineSpentTimeManagerListener>();
public RedmineSpentTimeManager(ITaskActivityManager taskActivityManager) {
this.taskActivityManager = taskActivityManager;
taskActivityListener = new TaskActivityAdapter() {
@Override
public void elapsedTimeUpdated(ITask task, long newElapsedTime) {
if(isUsableTask(task)) {
setActiveTask(task);
}