Fixes  #29, Replace ready with pageshow listener

Fixes urlbarbutton image update when the page retrieved from bfcache.