Linkage between activities modified in views, logic and DB