ui changes and added activity controller delegate