Android: Adjust threshold