fixes a bug in consistency check which results in early termination
fixes some logic error in category removing
done backend logic and UI for shape category moving
fixes a bug that may result in category removing error
category rename and shape move logic added
fixes a bug that prevents using enter key in add category dialog box
move shape across category works, need to be tested