added spinner and repaired radio buttons