[fix] Fixed foreground service bug