updated text for buttons and labels, code formatting