- Modified tab bar item to handle selected state