added a functionality

When user creates a csv file, temp file is cleared.
Changed a format for displaying category codes.