Improving some aspects of the categories activity