calling state chages directly from telephone class