Show / Hide buttons not attending in events + based on current user status

Hi,

1. Currently I have disabled the “Maybe” and “not attending” buttons on the event page by css.

Is it possible to switch the appearance of the buttons based on the current status, e.g. if the user is on the rsvp the button “attend” will disappear and instead “not attending” will appear?

2. I have trainings of the same type/category on different dates or different cities. Is it possible to hide the “attend” button when the user is already on the rsvp of one event in this category and show the “attend” button as soon he has cancelled the attendance.

Many thanks in advance.

Jörgen