Merge "Don't focus view for invalid task index." into mnc-dev