Refactoring api.paused status variable and lcd display when play.