replace Map with SparseArray in StatusBarNotificationManager

Fix #475

added function private boolean checkIfArrayIsEmpty(SparseArray<NotificationData> array) since .isEmpty is not implemented for SparseArray.