Practical considerations when designing an online learning algorithm for an app-based mHealth intervention