added reusing of mines
better back button support