Moved category management to preferences