Adding task in DB
Add getTask method to DBTask