#17 Changed design, depenging on status; added selection of the row;