Added enums for title type and button type