not showing app when first boot or killed and fix double register