added buttons to view