rebuild the main activity
update