Changed the position ok extention and file upload and its button in gui and added code for upload file is mandatory for add button function.