Added extra condition to check if stage in url.
Merge branch 'sr-apikey-btn-fix' into stage