Functionality on MainActivity.java, CategoriesActivity.java, BasketActivity.java