remove useless activities and add logics to MainActivity, fix crash in family lists