Bug fixing and Code improvement

Fixed a bug in which an exception was thrown if user entered 0 for
maximum temperature value.
Fixed inconsistency in objects communication (App_Model and
Serial_Comm).
Code improvement