Even the most innovative apps can fail due to poor user experience. Here’s how to avoid the common pitfalls.