Re changes

This PR
 * Prevent user from passing value outside min/max range for double and float
 * Reset window interval is directly modified in DB

To test this PR
 * Modify start/end in DB. Save values outside the pixel type range.