Add reset button
Fix range validation