added buttons to the connected activity