Preprocessing button added. Preprocessing function is now called by clicking preprocess button instead of data textfield.