added inputbox for function+fixed language string (categoryelement)
altered categoryelement model