Renamed variable in function.
Made some changes.
Merge branch 'master' into dev
Added field "Freistil site id" and implemented function for selecting data for later prepolation of fields.