Update the UI after incrementing the counter variables