$('.js-calories-form').replaceWith('<%=j render 'calories/form' %>');
$('.js-notices').replaceWith('<%=j render 'shared/notices' %>');

$('.js-calories-form').replaceWith('<%=j render 'calories/form' %>');
$('.js-notices').replaceWith('<%=j render 'shared/notices' %>');
$('.js-filter-form :submit').click();

Refresh grid after chaging user calories setting.
Refresh grid after chaging user calories setting.
