Fixes Generate Diagnostic Snapshot button

Closes-Bug: #1258436

Change-Id: Ib39edf27590d1b4cf57f5676d2a57ad4210d1aac
Merge "Fixes Generate Diagnostic Snapshot button"