made view better for creating/updating activity