return new TitleFavorite(title);
}
} else if (mTopicRb.isSelected()) {
String topic = mTopicTf.getText();
if (topic != null && topic.length() > 0) {
return new TopicFavorite(topic);
}
} else if (mActorsRb.isSelected()) {
String actors = (String) mActorsCb.getSelectedItem();
if (actors != null && actors.trim().length() > 0) {
return new ActorsFavorite(actors);