added task functionality to app