Cut potatoes into medium-sized cubes, tomatoes into large-sized cubes, grate cheese. Place potatoes into the bowl, add olive oil, salt, spices, and mix well. Close the lid. Select “FRY-Vegetables”. Set the time of 20 minutes. Stir-fry for 15 minutes, add tomatoes, beans, and mix well. Close the lid. Cook until the program finishes. Add grated cheese before serving.