options buttons + sort by priorety
rebuild options buttons