Fixed bug in #Release pageshow handler