Added buttons for distances