fix NoneType error when switch to performance page

Change-Id: Ib57895ec60bf9fb1eb3891efdcbadef173cb740f
Signed-off-by: boh.ricky <boh.ricky@gmail.com>