Refactoring formViewDatasource
update code
Only using autolayout