Changed Datepicker and MAsterFrame