Fix a bug in element deletion
Adding some task operations to the palette
Sorting the palette