Added logic for adding a checkmark

Added logic for adding a checkmark in the menu for the selected theme