SimpliSafe Interview Question

Given this code, how would you improve it.