Fixed the issues related to refreshing the page

Signed-off-by: Kulamagal Mahendrarajah <kulamagal@qi-interactive.com>