Fixed double-back-button issue reported by @mihaimaruseac