it is better to use parcelable: http://www.developerphil.com/parcelable-vs-serializable/