Made a method for parsing and formating double values and changed the looks of confirmation window.