Enviar por SMS: Analysis and optimal control of phase-field transition system