add download button, which is a stateful button.
update preview button.
replace relativeLayout with LinearLayout for buttons.