Clearing category and add new class text fields when initializing them, so that they don't have text from the previous time.