Fixed Detail UI, store type data, change alertview