Added some support for adding task and deleting task for floating tasks