IntegerProperty update

now overridingthe readFromDatabase-function in the IntegerProperty class