Fixed problem with 'Clear labels' button