[Frontend] Implemented new event for bs button change. Also some minor changes.