fixed a bug in preferences and removed the animation when starting and finishing the activities
fixed a layout