Added Javascript tricks to show button in Activity.