refactors TaskStore array, includes condition based display in view