fix calendar and refresh in activities