Added offset for iOS7
changed width
fixed crash when action is set
Fixed datatype warning