created buttons for choosing state