yeah, it seems quite big, but I copied it from LedBlinkPatternListPreference and dont know how to make it shorter :(