randomize histogram by pressing 'r'