Kerala government cancels all functions for a year