Removed test directory, fixed a bug with backup dir and fixed a bug with categories selection.