Fixed broken add task in recent tasks