added functionality for tasks-webstorage api