Changed methods according to Alexis wishes

Changed type of "portioned" to boolean, still having int value in DB