Changed order of initialization

Fixed a problem where the service bound before mDevice got initialized leading to a NPE.