code review changes for MainActivity up to addPin