Αποστολή με SMS: Analysis and optimal control of phase-field transition system