Fixed custom topics.
Added the possiblity to set the default topic to other than the first one.