Set state of buttons component via setParentState prop. #19