Fixing issue where cartridge framework is null to resolve #112

Resolves null pointer when displaying application image when cartridge framework is null
let's put `application.framework !== null && application.framework !== undefined ` in parenthesis for readability sake. Other than that, it looks good