Fix message box related crash in manage views

Change-Id: I9b68da3b0af584f2ad809502dff5a465b5113ab4