Removed unneccessary app bar snapped code.