Bugfix data showed in the wrong month
Bugfix save select input field value
Bugfix save '0' as input value

replace if($value) condition
with if(!empty($value) || $value=='0')