removed unused layout file
modified canReadData to be null-safe
implemented better back-button behavior