bugfix, change function void setDefaultValues to View