Android registering fix