Added check for duplicate actions before adding them to config, although it should theoretically not happen due to checks in desktop application.