Spotme/spotme3-mobile-android#402 Fixes NPE, that lead to re-start replication problem