Migrating StartButton_Click function to new form.