add layout changes and spinner
add layout changes and spinner