Added double back exit confirmation option
Fixed bitmap memory leak