implemented overrides that should help performance when app is in background