Fix switching running/cached apps with memory bar

Fixes upstream issue #38735
http://code.google.com/p/android/issues/detail?id=38735

Backported from CM10
http://review.cyanogenmod.org/25775

Conflicts:

	src/com/android/settings/applications/ManageApplications.java

Change-Id: I5500f274bbfba91e774f288c1c9b9725dddf1708