Added getDuration method to TBITask