Fixed the bug of the wrapping p when creating a new event. Should make sure the refresh function works fine when adding a new event. Right now the list is not refreshing well. maybe need to put the refresh into the addEvent function.